# import one
# if __name__ == "__main__":
# #     print(__name__)
#
# s = 'FFFFF44444'
# print(type(len(s)),len(s))
# if len(s) != 10:
#     print("sss")
# for i in s:
#     print(i)
#     print(type(i), ord(i))
# print(ord('a'))
# print(ord('z'))

# print(ord('A'))
# print(ord('Z'))
# print(ord('0'))
# print(ord('9'))

commodity = {'F00001':{'name':'苹果','prince':'1.2'},'F00002':{'name':'香蕉','prince':'5.5'}}
print(commodity['F00001']['name'])
print(commodity.get('F00001',commodity['F00001']['name']))